package com.ygnn.service;

import com.ygnn.common.Dto.OrderDto;
import com.ygnn.common.R.Result;
import com.ygnn.common.Vo.OrderVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.text.ParseException;
import java.util.Date;
import java.util.List;

/**
 * ClassName:OrderService
 * Package:com.ygnn.service
 * Description:
 *
 * @Author: dlh
 * @Creat:2024/10/8-22:20
 */

public interface OrderService {
    void insert(OrderDto orderDto,int status) throws ParseException;

    List<OrderVo> selectAll();
    List<OrderVo> selectByDate(Date date);


    List<OrderVo> selectById(int id);
    //修改状态和msg
    void upDateById(int id,int statu,String msg);

    List<OrderVo> selectByOpenid(String openid);


}
